From 0455e565171db938793d5d874d3a855335d04d7a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 15 Aug 2015 16:05:11 -0400 Subject: [PATCH] window: Set name on idle Use gdk_threads_add_idle, and set a name on the source to aid debugging, as we do everywhere else. --- gtk/gtkwindow.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 4e96d6f712..0367c90a9e 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -12062,7 +12062,11 @@ static void gtk_window_update_debugging (void) { if (inspector_window) - g_idle_add (update_debugging, NULL); + { + guint id; + id = gdk_threads_add_idle (update_debugging, NULL); + g_source_set_name_by_id (id, "[gtk+] gtk_window_update_debugging"); + } } static void -- 2.30.2